package utils;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class KeyUtils {

    public static String USER_AES_KEY = ""; //传输用户密码时用来加密的key

    static {
        try {
            Properties properties = new Properties();
            InputStream in = CommonUtils.readResourceFile("key.properties");
            properties.load(in);
            USER_AES_KEY = properties.getProperty("userAesKey");
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}
